package cn.itsource._01_batch.mapper;

import cn.itsource._01_batch.domain.Product;

import java.util.List;

public interface ProductMapper {
    List<Product> findAll();
    //批量添加
    void batchAdd(List<Product> products);
    //批量删除
    void batchDelete(List<Long> ids);
}
